﻿@using System.Linq;
@if(Request.IsAuthenticated) 
{
    <div>
        <img src="@ViewBag.User.Picture" width="36" height="36" style="float:left; margin-right: 10px" /><strong>@ViewBag.User.Name</strong><br /><small>@Html.ActionLink("Log Out", "Logout", "Account")</small>
    </div>
}
else {
    @*@Html.ActionLink("Sign In with Facebook", "Login", "Account")*@
    <a class="fb_button fb_button_medium" href="@Url.Action("Login", "Account")">
        <span class="fb_button_text">Log In</span>
    </a>
}
